<template>
    <div>
        <div class="box">
            <div class="icon"></div>
            <div class="text">
                {{ title }}
            </div>
        </div>
    </div>
</template>

<script setup>
import { defineProps } from 'vue';
defineProps(['title'])
</script>
<style lang="less" scoped>
.box{
    display: flex;
    .icon{
        width: 24px;
        height: 30px;
        background-image: url(../../assets/layout/box_title_icon.png);
        background-size: 100% 100%;
    }
}
.text{
    color: white;
    font-family: "楷体";
    margin-left: 10px;
    line-height: 30px;
    font-size: 20px;
}
</style>
